package com.mowh.gof23.creational.patterns.abstractfactory.factory;

import java.util.ArrayList;

/**
 * @author mowh1gd
 * @create 2023/10/24 8:32
 */
public abstract class Tray extends Item{
    protected ArrayList tray = new ArrayList();
    public Tray(String caption) {
        super(caption);
    }

    public void add(Item item) {
        tray.add(item);
    }
}
